import request from "@/utils/request";

const path = '/website'
// 获取网站信息
export const getWebsite = () => {
  return request({
    url: path
  })
}

// 修改网站信息
export const updateWebsite = (data) => {
  return request({
    url: path + '/update',
    method: 'put',
    data
  })
}